home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-11-19 | 4.0 KB | 135 lines | [TEXT/MPS ] |
- ## —————————————————————————————————————————————————————————————————————————————————————
- ## file: UserStartup•HITEC
- ## purpose: Define needed HITEC variables and create HITEC menu.
- ## note: Be sure to set the various preferences using the Preferences menu item
- ## before using HITEC.
- ## version: 1.0.2
- ## copyright: © 1990-91 by Apple Computer, Inc. All rights reserved.
- ## —————————————————————————————————————————————————————————————————————————————————————
-
- Set Exit 0
-
- # DEFINE NEEDED HITEC VARIABLES
-
- # {HITECDir} - Directory for HITEC
- Set HITECDir "{MPW}HITEC:"
- Export HITECDir
-
- # {Commands} - Directories to search for scripts & tools.
- Set Commands "{Commands},{HITECDir}HITEC Scripts&Tools:"
- Export Commands
-
- # {alwaysInstall} - should we always install HITEC or ask each time?
- Set alwaysInstall false
- Export alwaysInstall
-
-
- ### BEFORE WE CONTINUE, CHECK THAT THE USER WANTS TO INSTALL HITEC ###
- if {alwaysInstall} == false; ∂
- Set tempcmdperiod "{IgnoreCmdPeriod}"; ∂
- Set IgnoreCmdPeriod true; ∂
- Set doHITEC "`HITECInstall`"; ∂
- Set IgnoreCmdPeriod "{tempcmdperiod}"; ∂
- Exit if {doHITEC} == false; ∂
- else; ∂
- Set doHITEC true; ∂
- end; ∂
-
-
-
- # CONTINUE DEFINING NEEDED HITEC VARIABLES
-
- # {SessionName} - Directory name to dump session files into
- Set SessionName "HITEC_Sessions_"`date -s -d`
- Export SessionName
-
- # {SessionDir} - Directory location to dump session files into
- Set SessionDir "{MPW}""{SessionName}"
- Export SessionDir
-
- # {TestFiles} - Set the location of my local test files, this is where you suite files get placed.
- Set TestFiles "{HITECDir}-> Suites:"
- Export TestFiles
-
- # {SLibraries} - Set the location of my local VU libraries.
- Set SLibraries "{HITECDir}VU Libraries:"
- Export SLibraries
-
- # {SIncludes} - Set the location of my local VU includes.
- Set SIncludes "{HITECDir}VU Includes:"
- Export SIncludes
-
- # {TListDir} - Directory where the target list(s) are kept
- Set TListDir "{HITECDir}Target Lists:"
- Export TListDir
-
- # {TempFilesDir} - Directory to dump temp files into
- Set TempFilesDir "{HITECDir}Temp Files:"
- Export TempFilesDir
-
- # {LastSessionDir} - Last session directory name
- Set LastSession "{TempFilesDir}LastSession"
- Export LastSession
-
- # {TargetList} - Name of the target list file
- Set TargetList "DefaultTargetList"
- Export TargetList
-
- # {MyName} - My identification values
- Set MyName "" #### THIS SHOULD BE YOUR SERVER LOG IN NAME ####
- Export MyName
-
- # {TempScript} - Name used for temporary compiled VU scripts
- Set TempScript "TempScript.vu"
- Export TempScript
-
- # {LeaveTemp} - Define whether or not to keep the last compiled script around
- Set LeaveTemp false
- Export LeaveTemp
-
- # {SrvrLoc} - Path to the server
- # {ProjLoc} - Path to the library project on the server
- Set SrvrLoc "" # Server location where the libraries are
- Set ProjLoc "" # Location of library projector file
- Export SrvrLoc
- Export ProjLoc
-
- # {useC} - Have HITEC use the C-preprocessor to compile the script?
- Set useC true # true is the default
- Export useC
-
- # {VURetry} - VU’s network retry parameter
- Set VURetry 3 # 3 is the default retries value
- Export VURetry
-
- # {VUTimeout} - VU’s network timeout parameter
- Set VUTimeout 20 # 20 is the default timeout value
- Export VUTimeout
-
- # {VUFailures} - VU’s failures parameter
- Set VUFailures 1 # 1 is the default failure value
- Export VUFailures
-
- # {VUTrace} - VU’s diagnostic trace parameter
- Set VUTrace false # false is the default for trace
- Export VUTrace
-
- # {VUKeyRate} - VU’s diagnostic trace parameter
- Set VUKeyRate 20 # 20 is the default keyrate for VU
- Export VUKeyRate
-
- # {VUMouseSpeed} - VU’s diagnostic trace parameter
- Set VUMouseSpeed 50 # 50 is the default mouse speed for VU
- Export VUMouseSpeed
-
- # {VUCaseSense} - VU’s case sensitive parameter
- Set VUCaseSense false # false is the default case sensitivity
- Export VUCaseSense
-
- # {VUCustom} - Custom VU’s parameters can go here - if applicable
- Set VUCustom "" # empty is the default custom parameters
- Export VUCustom
-
- # Create the HITEC Menu
- HITECMenu
-